package com.ehsy.service;

import com.dtflys.forest.annotation.*;
import com.dtflys.forest.http.Lazy;
import com.ehsy.common.ResponseVo;
import com.ehsy.model.UserInfo;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * @author YanZhen_Li
 * @version 1.0
 * @title UrlParamService
 * @description
 * @create 2024/6/17 15:22
 */
@Component
@Address(host = "127.0.0.1", port = "8080")
public interface GzipService {
    @Get("/test/request/json/body?a={0}&b={1}&id=0")
    ResponseVo<Object> send1(String a, String b);

    @Get("/test/request/json/body")
    @DecompressGzip(false)
    ResponseVo<UserInfo> send6(@Query UserInfo user);

}
